<?php

namespace app\system\model\order;



use think\Model;


class Supplier extends Model {
    // 表名
    protected $name = 'order_s';


    public function supplierInfo(){
        return $this->hasOne(\app\system\model\corp\Supplier::class, 'id', 'supplier_id');
    }

    public function ordercInfo(){
        return $this->hasOne(\app\system\model\order\Customer::class, 'id', 'c_id');
    }


}